Removes some useless lines