found a bug in look_for_tie, fixed it