fixed bug where wrong separator char used on windows