tmp-buf : create Cap and remake Tmp
merge tmp-buf into master