try doing a global try catch