Give anonymous function a name
Fix incorrect init
Less extreme error handling