Correct the invoktion of the anonymous function.