fix rerender header