Actually fix the gradient.