correct components linking