handle emtpy messages