remove unnceesary newline