Obj could not have name attribute