some very disapointing bugfixes for windows