Fix a bug that default config isn't constant