fix interactive output.