fix to make topology submission work via code.