Fix gemile lock