Small fixes.

Signed-off-by: PlutoniumHeart <zhitaoli.hust@gmail.com>