some small changes for windows