fix header set bug.