fix Exception type