fixed issue with mac carriage return