fixed archive and index resolution problems

double check it on your comp!