whoops, bug fixes

Signed-off-by: Sean Wesenberg <wookets@gmail.com>