fixes #6 removed a bug in AlgorithmFinder