Are you using the last patch (1.10b).?
This problem happened on 1.10 (and /or 1.10b

) but Primasprit solved it (supposedly

).
It used to happen when you use brigades with missing elements to make a division. Later, the brigades could receive the missing elements and go over the 18 elements limit.