cleaned up output text behaviour