Multiple fixes

Signed-off-by: dragon <dragon7780@hotmail.nl>