fix concurrent crash