removing lingering unused refs