move inferecne list and debug flag