vc10 small fixes