Bugfix for windows