resolved another ambiguity related to types