fixing typo and removing old parameter of set_output