according to doc, grads must return a tuple
fix typo in doc