fixed bugs in lambda; this object was removed but referenced.