fix num parts.