bugfix initial state