removing refs to search