fix BOS1408773 with try/catch