made store init idempotent