fix dictonaries