remove new lines in prompt