fixed some array index bugs in storePath