removed deadlock