clear lock fix