added windows path separator support