fixed carriage return bug