state missing fix