bug fix for TTL collections