clean up dicts, still not compiling