fix some bugs

N/A

Signed-off-by: wenzhenwei <wenzhenwei@xiaomi.com>