fixed header clearing issue