remove warnings of cbufp code Yuxin