fixed error with repeat contaminant