fixing typo in vector classes