fixed lambda error - why wasn't it detected by Xcode 5.0

Only detected by Xcode 5.1