bug fixing - still need to sort out putting sub-assembly_id into task_to_assembly