fixing a typo, resp to result