Fix reference of method