Fixed wrong old-style try-catch
Fixed wrong old-style try-catch