handle string params