fixed refresh color bug