bugfix for windows