reverting try/catch