Tweak for reading an LD resource, this fix is however temporary and should get a closer look and thought.