debug version for sys.argv
bug fix