more small hacks on libvt