fixed bar color bug