Chapters: fixed uiConf check in error handler