race condition eliminated, it was possible to save state before bucket znode has been created.