fix up join tables
if first level is finished do second level