correcting duplicated mapping