fixed some compilation issues
files now compile