add return character in the error reporting