fixed error in inputVector.c, finally