Fix bug with default config