Fixes dictionary, error raising errors