upgrade for VS2012 compliance