unused gems are removed