Fix instantiating config in editor and terminal