rm unnecessary link manager code