fixed the config setting issue