remove unnecessary exception handling