fixed ambiguity error