It was cloning the object before.