[fix] parsing closures