vector access fix