Fixed errors vs2013