fix bugs

Signed-off-by: tengattack <tengattack@foxmail.com>