Correct lock fix