Fixes base url in header