fix compile error
Merge pull request #9072 from andyque/fixCompileError

fix compile error