error type modification