fix call to a method deleted during refactoring