fixed PersistentStateComponent.