minor fix: ignore anonymous functions