fix gemlock and deploy