restore mod's circular deps

exec运行结束后还原初态