taking out unused gems