change sm spec code