fixed multiple junction issues