fixing problem with header URL