fix position of max(grad) reporting in checkConv