fix bug where messages were not being posted