fix vc warnings