potentially fixed deadlock