add free memory in to_string.h