im trying to make a unit that used to use a pike into a spear non- phalanx unit (like samites or auxilla) and in game the unit works but the spears red???? any idea how to fix it

(picture)