getLocation fix