updated ws_getEPos to use getPosATL