fixed the compile error in VS2013