fixes the last of the compile errors