Fixed custom sampleKey use in varcollector