fix the color register conflict