fixing idempotency of znode creation