fix search by date using datetimepicker