Multiple fixes

Signed-off-by: RedChrome <redchrome@gmx.de>