Fix variable name
Fix global catch