fix: not giving error anymore when arrow.x or.y is NaN

- fix: not giving error anymore when arrow.x or.y is NaN
- update statistic plugin