lambda bug fix