added missing __block var specifier