validate messages