lock fix