fixed search date time bug