change handling of ARGV

only use copies of it to be able to reproduce a call when needed