fix search for date v1