fix union method finding