made some linking changes