fix arglist generation, fixes #TANAL-27