fix tgz fallback