gem lock modification