compile errors repaired