Fixed the state null error