validation the slug in options