fixed warning for VS 2012