fixed the gradient for safari