fixed vector.c