fixed xLocate