fixes and stuff

Signed-off-by: Miethpo <miethpomail@yahoo.co.uk>