fix #102: remove "\r" at end-of-line