fix to Cf when debug>0, to load assets from local