fix for visual studio 2012