fix complexSpanTask