debugging nec. for halfexpsmamint