fix bug get color box to work