removed useless exception handles