fix a fat-fingre in UI's error handler