Fixing LDC/LDC_W bug.