fixed lambda in a dict