fixes search selected on header