fix bug, trying to walk off the end of the argv array