diff --git a/lib/stream-pyramid.js b/lib/stream-pyramid.js
index <HASH>..<HASH> 100644
--- a/lib/stream-pyramid.js
+++ b/lib/stream-pyramid.js
@@ -136,7 +136,7 @@ Pyramid.prototype._read = function() {
                 stream.emit('error', err);
             } else if (err || isEmpty(buffer)) {
                 tile = new Tile(z, x, y);
-                if (headers.painted) {
+                if (headers['x-tilelive-contains-data']) {
                     addChildren(tile, stream.bboxes, stream.queue);
                     stream.stats.skipped++;
                     stream.stats.done++;
Changed the name of the header for painted