fixed ld_values bug