fix import; make IMP-compatible.