try fixing dict error