Correcting coordinates