fixed header logic