substitue fixed url to global variable