fix header view for dynamic loading