Bug fixed

Fix bugs on configs.