fixing x/y vs lat/long error