Cleanup refrences