fix import bug for SPIRE