fix some bug
Signed-off-by: PacoIrene <zhenyangchu@gmail.com>