remove errors with key objects.