fixed bug with archive path