fix send text message after data structure change