change deadlock