fix issue on windows with file path separator