fetch compound name when navigating to pharm or target