fix broken color toggle mechanism