fix ldm syntax