Fix tec errors represented as success