minor fix (anonymous function)