fix get_config to work when closed
fix config on closed wallet