fixed vector error