fix setting before color