fixed ambuguous reference in set