fix bug in colorgui