another attempt at fixing the Windows bug