Some minor fixes

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>