fix possible deadlock