make sure a message is a string