fix prompt wrapping issues