fixed search bug that i caused