VE update. Several bugs fixed