A few fixes

Signed-off-by: Suki <suki@missallsunday.com>