fix create object