Fixed saved_state that is out of date