Fix get object ids