fixed 2 warnings

Signed-off-by: TheTesla <stefan.helmert@gmx.net>