Fixing multivalue dict error