small error fixes in fnc_addWaypoint && fnc_getPos