a bit of cleanup in errors.core
removed an unused function in dictionaries