remove unnecessary exception raising.