fix method name in path pruner plugin