Fixed minor issues in vg