gen_chunk_buffer blocks guard