ccnet buffer fix