minor quick bug fixes

Signed-off-by: Poenjabiesous <nielverster@gmail.com>