fixed adding empty objects from top/bottom