fixed bug in _find_bio