remove the unnecessary NULL in vector constructor