remove pruned gems