fix a defect on 2.3.x