fixed bug for color