fix core subspec