fixed the object problem