delete the trailing white space & dos ^M