fix this.data and this.viewDate referencing the same date