Fix error about metadata.ttl in default config.ttl