clean the header list