some warning fixed in vs2013