fixed `$data` to `$date`