replaced some hardcoded URL to / by root url set up in conf file