fix when header height is recalculated