fix metadata and installing tar