fixes inconsistencies