remove unnecessary try/except