added gem lock back in