fixes a typo inside of a method and a parameter name. to fix the method it adds a new method with the right name and deprecates the wrong one.