hide debug in macro
handle big data buffers