fixing header paths with domain changes