revert unnecessary exception type change