get pointer pos has some problems