fixing carriage return issue with prevent default