small correction in error types