Fix coordinate finding