fixed one more deadlock