more fixes for libvt =)