fix a few small issues

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>