fix an issue with piping cat or more into nmeans