remove unneeded discrete gradients (with black bars)