fix bugs with array
change archive