fixed a compiler error with VC++ 10.0