Fixes windows bug (maybe)