removes gem lock