Remove \n from the end of any message