fix remap error