quick fix to the gradient