fix incompatibility with new Spira versions