adapt to VS2013