1. fix a lambda bug