Attempt to solve windows bug