Fixed deadlock bugs