resolve ambiguity