generate slug before_validation