fix vector type format