tidy up some useless lines