Fixed the header repeat problem