fix the float color bug.