Fix spconfig usage