strip text before returning