use freeString helper