Wall by profile in Python code doesn't work anymore using Dynamo 2.0.3 in stead of 1.3.3

i tried to make exactly like this, but i got the warning

Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 30, in
TypeError: iteration over non-sequence of type NoneType

and if i connected all of it, its changes
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 32, in
Exception: Could not construct a proper face with the input curves to create a wall correctly.