Fix store singleApi attribute.