fix do along diagonal typo