change notices message type to text from string