correcting coords