ws_fnc_getPos fix