tweaks to try/except block