windows bug #50 fixed