fixes wire colours