fix transition bug on header (for realz)