fix the sample color logger