delete useless lines & spaces