made a change to the fixInfinitive() method