corrected BestFS iterators error