corrected error XY coorindates and linked map