fix the mistype in refactor