patch cbuffer
handler zpg + patch cbuf