wrong index to extract last arg