fixed a bug that causes the storage of picture to archieve folder to be a previous images taken