fix on get data from date