clening our refs