remove useless lines