fixing tar bug