fix color transform bug