compile errors fix