strip text before putting it