25 - fixing bug with date object not being duplicated and therefore was changing date object used for plotting lines