fix compile errors

Signed-off-by: junpeng <jason123.zhou@gmail.com>