replace message for text