fix dereference pointers to freed memory during command-line arguments
retrieval.