bugfix for windows.