correcting remapping