Fixed compound object bug