fixed ttl files for queries