solves wildcard a bug when duplicating or removing classes