move search back in the header

no answer to the previous commit questions
search still really ugly!