fix keyguard