fixing bug in tarball resolve