Fixed a change of method bug.