fix header in small mode