Fix error about metadata.ttl