fix bug for the header on search page