fix bug in vs and .h