fixed some search stuff