fix import warnings
Fix issue with "spaces spaces" in imput parameters.