fix some bug

Signed-off-by: xushvai <xushvai@gmail.com>