fixed error in obj type