fixed dict normalization