fix bug about const buffer

,add buffer name debug info