get rid of extra new lines