fixed for VS2013