Fixed some linking activities