fix for vc2010
fix for vc2010