fixed carriage-return bug