fix bug where we were changing immutable string