fix vc bug