fix incorrect lambda