Fix archive ID creation