fixed lambda functions inside of a list