fixed bug for Text message issue