fixing inconsistencies.