fixed error - values in state need to be strings