cleanup ids mutation object