fix the use of method names