remove judgement of name and object