get rid of buftmp