Windows crash fix.