lambda head bug fix