Fix some issue.

Signed-off-by: Robert <robertzml@126.com>