Remove duplicate gradient