minor bugs

Signed-off-by: CrazySnailer <dayong.shen89@gmail.com>