dealing with gemlock