fixing color bug