another possible fix, delays pushing page to page array until snapshot is done, but still not elegant