clean up non functional references