bug fix:修复了nextPoint