catch in string.strip to always cast variable as string