fixed Search, pretty sure everything workes as intended now