Bug fixes. find_first_tuple not always returns a tuple,it should? seems not