Fix for windows for /0 error.