fix stuff for windows