revert some changes for header expand