try to solve the deadlock