updated some of the splitting logic for objects