ldr processing fixes