Fix scope error (try,finally block).