fix leadKey reference