argv related bug fixed