fixing gemlock file