Fix pending output in plain term