fixed issue with importing encrypted ldr