fix bug when missing dir of tarfile
fix bug on callback after tar packer