fixed the way parameters where handled in CLI commands