fix typo
toPublish and toBuffer (or staysInBuffer) can't be true at once
Keep _id in published and buffer