the date search is not working... why?