fixed mainvc