fix a deadlock