fighting deadlock