fixed a few bugs in compatibility with DESDM tiles