removes traces