fix concurrent issue