Fixed syntax error in lambda