Solve the header url rendering issue