fixing gcc build; temporarily remove generate; remove dynamic_concat (concat with capture does this)