small fixes in libvt