clear linking table before loading