diff --git a/saspy/sasproccommons.py b/saspy/sasproccommons.py
index <HASH>..<HASH> 100644
--- a/saspy/sasproccommons.py
+++ b/saspy/sasproccommons.py
@@ -486,8 +486,11 @@ class SASProcCommons:
         else:
             inputs = {'interval': input_list}
 
-        kwargs['input'] = inputs
-        kwargs['target'] = target
+        if any(v is not None for v in inputs.values()):
+            kwargs['input'] = inputs
+        if any(v is not None for v in target.values()):
+            kwargs['target'] = target
+
         return kwargs
minor fix to not add nominal dictionaries that are None