added try/catch for #117