bugfixing compiler errors

Look at my fixing, it is amazing, give it a lick, ...