proper tar buffer fix