lock-screen bug fix