Visual studio 2012 fix