fixing dict