fixed tar extract and vars as caps