fixed deadlock in cs1a