fix typos for error handling in config