Store smash results as a string, not a pointer.  It's not a huge drain on processor, and it removes prerequiste complications.