fixing up the gems