workaround: update state with the old API
restore original default state