Debugged the string data state error