fix parsing LDWTK