Fixed try/catch format