bug fixed in DIM hack. Compiles now