truncated @output so that it does not grow in size