Removed the error while setting TTL