state save bugfix and version to be embedded into any website