Fixed a bug at saving the current array to file