adapt to delite 0.4.x