re-initializing search for each controller