Misc fixes
Signed-off-by: Kristofer Ard <kristoferard@gmail.com>