Fix bug with immutable string