remove useless close