fix header layout problem