fix a method