fix #1, allowing empty msg at publish