Fixed error and warning messages

Signed-off-by: Sven Haardiek <Sven@Haardiek.de>