avoid sending empty messages