Small error fixes

Signed-off-by: Roet-Ivar <nicoful@gmail.com>