modify for SpaConf