add try/catch for error on compilation