fix for VS 2012