fix failures with exception types