fix lambda syntax