fix text formatting (remove new line)