remove \n from strings