vector performance and typo