diff --git a/RTCP/Cobalt/OutputProc/scripts/tbb-printframes.cc b/RTCP/Cobalt/OutputProc/scripts/tbb-printframes.cc
index fa0ea4afe88fb8df4faebbff1d7b7f67f3f22a6e..d99e542f986016652a655fbae2ccc60a99ea8f03 100644
--- a/RTCP/Cobalt/OutputProc/scripts/tbb-printframes.cc
+++ b/RTCP/Cobalt/OutputProc/scripts/tbb-printframes.cc
@@ -39,8 +39,8 @@ void printHeader(const LOFAR::Cobalt::TBB_Header& h) {
 		cout << "Sample Nr:   " << h.sampleNr << endl;
 	} else {
 		cout << "Spectral" << endl;
-		cout << "Band Nr:     " << (h.bandSliceNr & TBB_BAND_NR_MASK) << " (real packet headers indicate this may be not the band nr but an index(?))" << endl;
-		cout << "Slice Nr:    " << (h.bandSliceNr >> TBB_SLICE_NR_SHIFT) << endl;
+		cout << "Band Nr:     " << (h.bandSliceNr & LOFAR::Cobalt::TBB_BAND_NR_MASK) << " (real packet headers indicate this may be not the band nr but an index(?))" << endl;
+		cout << "Slice Nr:    " << (h.bandSliceNr >> LOFAR::Cobalt::TBB_SLICE_NR_SHIFT) << endl;
 	}
 	cout << "NSamples/fr: " << h.nOfSamplesPerFrame << endl;
 	if (!transient) {
@@ -95,7 +95,7 @@ void printFakeInput() {
 	hdr0.sampleFreq = 200;
 	hdr0.seqNr = 10000;
 	hdr0.time = 1380240059;
-	hdr0.sampleNrOrBandSliceNr = (17 << TBB_SLICE_NR_SHIFT) | 14; // sliceNr=17; bandNr is 14 (but from real data, the 1st band nr emitted is always 0, so maybe it's an index in the requested (but sorted?) band list?)
+	hdr0.sampleNrOrBandSliceNr = (17 << LOFAR::Cobalt::TBB_SLICE_NR_SHIFT) | 14; // sliceNr=17; bandNr is 14 (but from real data, the 1st band nr emitted is always 0, so maybe it's an index in the requested (but sorted?) band list?)
 	hdr0.nOfSamplesPerFrame = 487;
 	hdr0.nOfFreqBands = 487/8 * 2 + 2; // 122, as set in the sb bitmap below