header on first load fix