fix pernicious eol bug in ccut cjoin chead