fix 5.4.x compile issue