clean up RestStore ctor