fixed ambiguous expression after latest patch