don't add scope for empty string parameters, fix #2