fix default state with no config file