fix reference to old field "dates"