add checkbuff integrity