fixed lockout bug