removed deadlock possibility