Thank you, I tested with the current version and the error did not occur anymore.
Indentation wrong for anonymous methods as parameter for another method