win logic stopped working, trying to fix it