fix bug of color on boxes