fix pivotXY int to Number