enabled setter to be a string attribute