fixed a removed method call which was still being used after a refactoring