progress bar resets, array saves