improve authoob error handling