remove new line and time from prompt