change message to text type