bug in try-catch-finally fixed.