Fix color length problem