check for ambiguity