typo
fixed deadlock