fix advert-url directive