Corrected a bug un ReMap class