Guess template
Fix anonymous function