change try-catch-finally block