bug fixes and VIUtils update