Bug fix: when reading a string from xml entry with space
Bug fix: The string reference is invalid, need to have a copy