fixed a couple things that broke paths in windows, hopefully still works on mac