cleanin up teh attribute refs