corrected an issue where a string did not have a reference ID.