fixed all layered vc bugs