fixed file scope , make windows can clone the dict