Fix usage of V-gradient output