trying to fix deadlock bug