patch for VS2010