fixing some search errors