adapt to latest delite changes