fixed the remaining comiler bugs
no more compiler errors
all files not compiler-error free