LDD bug fixed

Please see the diff and try to run the gem5 to figure out whether the LDD bug has truly fixed.