getting rid of ^M