some small, but important changes

Signed-off-by: Alexander Skjolden <alex@plastboks.net>