Reference Count fix