fix bug : context of anonymous functions
@commit 455935c8bbe3ecca3d2d1535338fe8b7c672e161