Fixing GEM file