Fix some issue.

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