fix setting the component type in the _rank table