Fixed try/catch syntax error