fixed some search errors