fix the bug for not sending empty title or message body