fixes search fields