remove useless exit