removing traces