remove extra spaces for colors