replace core spec