small fixes for libvt