fix definition file treatment.