various fixes for vector code release