Fixed the state constructor