fix explanation join algorithm