fixed bug in layer split restrictions