remove annoying eol $ character