fixing search issue fix and sidebar highlight