fix repeat function for objects