make sure to strip a string