fix a issue of hazard pointer