changing exception condition