ld_repair added
handle the case where there is no reverseMapD