handle string case