synchronization lock fix