Fixed a string allocation problem.