remove all instances of other arrays