fixed the postAdvert validation