fixes for windows

little fixes. please :)