fix a lambda bindings bug