fix for order of contained objects