stupid deadlock