remove unnecessary rename vector.
type-check, fix length check.