clear data before call to search