fix some bugs for compile

Signed-off-by: xushuai <root@localhost.localdomain>
fix some bugs for compile

Signed-off-by: xushuai <root@localhost.localdomain>