handle junk in argument lists (Fixes #2206)