fixed the date query and transaction modal