"when the npc reaches waypoint 19, it is going back to waypoint 2 instead of going to waypoint 20"