fix compilation error
(cherry picked from commit a0e2e29d36bdb995e696389e79c9831170112a7a)