fixes duplicate many to many instances