check param is string