fix Ambiguity crash