Correct storeMetadata() param order