do proper ref counting of inames