this should fix the ambiguous refnames