fix crash when try to send message when status is offline