fix fetch URL so that collection configuration is taken in account.