rm useless lines