fix broken iteration and return value in launch.py transformArguments