removing unnecessary exception rising