fix ambiguous conversions