fix bugs

Signed-off-by: edward9210 <879667863@qq.com>