lock previous gem changes