fix import centroid error