fixed bug related migration from optparse to argparser