Fix link errors and stretch errors.