fix warning on vc++