Batch retrieving and storing finally works.