improve header in small mode