solve ambiguous